<!DOCTYPE html>
<html>
<head>
	<title>自定义指令 templateUrl属性</title>
	
</head>
<body>
	<div ng-app="app">
		<custom-tags>原始数据</custom-tags>

		<script type="text/ng-template" id="customTags2">
			<div>
				<!-- 需要外部标签 -->
				hello {{name}}<!-- 由于name是属于firstController，所以需要在自定义指令外部添加控制器 -->
			</div>
		</script>

		<div ng-controller="firstController">
			<div custom-tags2>32323</div>
		</div>

	</div>

	<script type="text/javascript" src="../angular/angular-1.6.5.min.js"></script>
	<script type="text/javascript" src="app/index.js"></script>
</body>
</html>